package com.lancoo.ccas53.mapper;

import com.lancoo.ccas53.entity.ActiveTeach;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lancoo.ccas53.config.MybatisRedisCache;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 教学活动安排 Mapper 接口
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface ActiveTeachMapper extends BaseMapper<ActiveTeach> {

    void deleteByMajorIds(@Param("majorIds") List<Long> majorIds);

    void deleteByTypeId(@Param("typeIds") List<Integer> typeIds);
}
